.class public Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;
.super Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;
.source "DlnaDeviceViewHolder.java"


# instance fields
.field private b:Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

.field private c:Landroid/widget/ProgressBar;

.field private d:Landroid/widget/RelativeLayout;

.field private e:Landroid/widget/ImageView;

.field private f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

.field private g:Z

.field private h:Landroid/widget/ImageView;

.field private i:Les/d10$b;

.field private j:Les/d10;

.field private k:Landroid/view/View;


# direct methods
.method private a(I)V
    .locals 1

    if-lez p1, :cond_1

    .line 25
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->m()V

    .line 26
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->e()V

    const/4 v0, 0x4

    if-le p1, v0, :cond_0

    .line 27
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->n()V

    goto :goto_0

    .line 28
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->g()V

    goto :goto_0

    .line 29
    :cond_1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->g()V

    .line 30
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f()V

    .line 31
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->l()V

    :goto_0
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;I)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;Les/l10;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b(Les/l10;)V

    return-void
.end method

.method private a(Les/l10;)V
    .locals 2

    .line 20
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    if-eqz v0, :cond_0

    .line 21
    monitor-enter v0

    .line 22
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    invoke-virtual {v1, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->c(Les/l10;)I

    .line 23
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->getItemCount()I

    move-result p1

    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->a(I)V

    .line 24
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    :cond_0
    :goto_0
    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    return-object p0
.end method

.method private b(Landroid/view/View;)V
    .locals 4

    const v0, 0x7f090708

    .line 8
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    const/16 v1, 0x8

    .line 9
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const v0, 0x7f09052a

    .line 10
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v1, 0x7f090b57

    .line 11
    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const v2, 0x7f090b58

    .line 12
    invoke-virtual {p1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    const v3, 0x7f090b59

    .line 13
    invoke-virtual {p1, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    const v3, 0x7f08061c

    .line 14
    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    const v0, 0x7f110206

    .line 15
    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f110311

    .line 16
    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(I)V

    const v0, 0x7f110204

    .line 17
    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(I)V

    .line 18
    invoke-static {}, Lcom/estrongs/android/util/o0;->d()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 19
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Landroid/view/View;->setFocusable(Z)V

    .line 20
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    invoke-virtual {p1, v0}, Landroid/view/View;->setClickable(Z)V

    .line 21
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    const v0, 0x7f080195

    invoke-virtual {p1, v0}, Landroid/view/View;->setBackgroundResource(I)V

    .line 22
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$e;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 23
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    new-instance v0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$f;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$f;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_0
    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;Les/l10;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->a(Les/l10;)V

    return-void
.end method

.method private b(Les/l10;)V
    .locals 2

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    if-eqz v0, :cond_0

    .line 4
    monitor-enter v0

    .line 5
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    invoke-virtual {v1, p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->a(Les/l10;)I

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->getItemCount()I

    move-result p1

    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->a(I)V

    .line 7
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1

    :cond_0
    :goto_0
    return-void
.end method

.method static synthetic c(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->h()V

    return-void
.end method

.method private d()I
    .locals 3

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "dlna_intro_card_show_count"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;I)I

    move-result v0

    return v0
.end method

.method static synthetic d(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    return-object p0
.end method

.method private e()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    return-object p0
.end method

.method private f()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method static synthetic g(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    return-object p0
.end method

.method private g()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->h:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    return-object p0
.end method

.method private h()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->c:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_0

    const/16 v1, 0x8

    .line 3
    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private i()V
    .locals 2

    .line 2
    new-instance v0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$d;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->i:Les/d10$b;

    .line 3
    new-instance v1, Les/d10;

    invoke-direct {v1, v0}, Les/d10;-><init>(Les/d10$b;)V

    iput-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->j:Les/d10;

    return-void
.end method

.method static synthetic i(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->o()V

    return-void
.end method

.method private j()V
    .locals 3

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;

    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/estrongs/android/pop/app/log/WrapContentLinearLayoutManager;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x0

    .line 3
    invoke-virtual {v0, v1}, Landroidx/recyclerview/widget/LinearLayoutManager;->setOrientation(I)V

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b:Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setLayoutManager(Landroidx/recyclerview/widget/RecyclerView$LayoutManager;)V

    .line 5
    new-instance v0, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    iget-object v1, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    const/4 v2, 0x1

    invoke-direct {v0, v1, v2}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;-><init>(Landroid/content/Context;I)V

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b:Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

    invoke-virtual {v1, v0}, Landroidx/recyclerview/widget/RecyclerView;->setAdapter(Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    invoke-virtual {v0}, Landroidx/recyclerview/widget/RecyclerView$Adapter;->notifyDataSetChanged()V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->f:Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;

    new-instance v1, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$c;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$c;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter;->a(Lcom/estrongs/android/ui/dlna/adapter/DlnaDeviceAdapter$b;)V

    return-void
.end method

.method static synthetic j(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->g()V

    return-void
.end method

.method private k()V
    .locals 3

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d()I

    move-result v0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    add-int/lit8 v0, v0, 0x1

    const-string v2, "dlna_intro_card_show_count"

    invoke-virtual {v1, v2, v0}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;I)V

    return-void
.end method

.method static synthetic k(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->e()V

    return-void
.end method

.method private l()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    if-eqz v0, :cond_1

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d()I

    move-result v0

    invoke-static {}, Les/no;->h()Les/no;

    move-result-object v1

    invoke-virtual {v1}, Les/no;->g()I

    move-result v1

    if-ge v0, v1, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->k()V

    .line 5
    :cond_0
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v1, "cast_intro_card_show"

    invoke-virtual {v0, v1}, Lcom/estrongs/android/statistics/b;->d(Ljava/lang/String;)V

    :cond_1
    return-void
.end method

.method private m()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d:Landroid/widget/RelativeLayout;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private n()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->h:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_0
    return-void
.end method

.method private o()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->c:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_0

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    :cond_0
    return-void
.end method


# virtual methods
.method protected a(Landroid/view/View;)V
    .locals 2

    const v0, 0x7f0902cf

    .line 4
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b:Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

    const v0, 0x7f090759

    .line 5
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->c:Landroid/widget/ProgressBar;

    const v0, 0x7f09045a

    .line 6
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->d:Landroid/widget/RelativeLayout;

    const v0, 0x7f090459

    .line 7
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->e:Landroid/widget/ImageView;

    const v0, 0x7f0907d8

    .line 8
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->h:Landroid/widget/ImageView;

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/ui/homepage/viewholder/HomeViewHolder;->a:Landroid/content/Context;

    instance-of v1, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz v1, :cond_0

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b:Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;

    check-cast v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    iget-object v0, v0, Lcom/estrongs/android/pop/view/FileExplorerActivity;->m:Lcom/estrongs/android/widget/q;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceRecyclerView;->setInterceptParentView(Landroid/view/ViewGroup;)V

    .line 11
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->e:Landroid/widget/ImageView;

    new-instance v1, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$a;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 12
    new-instance v0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder$b;-><init>(Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;)V

    invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 13
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->j()V

    .line 14
    invoke-direct {p0, p1}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->b(Landroid/view/View;)V

    .line 15
    invoke-direct {p0}, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->i()V

    return-void
.end method

.method public a(Ljava/lang/Object;)V
    .locals 0

    .line 16
    iget-boolean p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->g:Z

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    .line 17
    iput-boolean p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->g:Z

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/ui/dlna/DlnaDeviceViewHolder;->j:Les/d10;

    if-eqz p1, :cond_0

    .line 19
    invoke-virtual {p1}, Les/d10;->b()V

    :cond_0
    return-void
.end method
